package com.ruoyi.buildingtask.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋任务对象 sys_buildings_task
 * 
 * @author ruoyi
 * @date 2022-10-16
 */
@Data
public class SysBuildingsTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 小区名 */
    @Excel(name = "小区名")
    private Integer communityId;

    /** 任务人数 */
    @Excel(name = "任务人数")
    private Integer taskNumber;

    /** 完成人数 */
    @Excel(name = "完成人数")
    private Integer finishNumber;

    /** 任务名 */
    @Excel(name = "任务名")
    private String taskName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 地址 */
    @Excel(name = "地址")
    private String address;


}
